package com.hst.capacity.domain.model.entity.setting.fence;

import com.hst.capacity.domain.model.entity.BaseEntity;
import com.hst.capacity.domain.model.response.setting.fence.pojo.CircleFence;
import com.hst.capacity.domain.model.response.setting.fence.pojo.PolygonFence;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.hibernate.annotations.GenericGenerator;

import javax.persistence.*;
import java.util.List;

@Data
@EqualsAndHashCode(callSuper=false)
@Entity
@Table(name = "sys_fence_info")
public class FenceInfoEntity extends BaseEntity {

      @Id
      @GeneratedValue(strategy= GenerationType.IDENTITY)
      private Integer idFence; //主键
      private String idFranchisee; //运力商id
      private String idBrand; //品牌商id
      private String city; //城市
      private String regionCode; //城市行政编码
      private String name; //围栏名称
      private Integer type; //围栏类型 围栏的类型（0: 发单围栏，1: 限派围栏）
      private Integer status; //围栏的状态（0: 弃用, 1: 生效中）
      private String scope; //围栏信息保存JSON格式
      private String memo; //备注

}
